package com.hbnu.boot304demo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: hjx
 * @Date: 2023/6/13 08:56
 * @Description:
 */
@Slf4j
@RestController
public class Hello {
    @GetMapping("/hhh")
    public String hello() {
        log.trace("trace日志:...");
        log.debug("debug日志:...");
        System.out.println("=======");
        log.info("info日志:...");
        log.warn("twarn日志:...");
        log.error("errorr日志:...");

        return "hello!";
    }
}

